@charset "utf-8";

.ws-order {
    .tab {
        background: #dfdfdf;
        a {
            outline: 0;
            &:hover {
                color: #333;
            }
        }
        li {
            cursor: pointer;
        }
    }
    .row {
        margin-left: 0;
    }
    #fh-tab {
        background-color: #ced9e4;
    }
}

.ws-orderbtn {
    position: relative;
    float: left;
    padding: 0 4px;
    background: #f0f0f0;
    border: 1px solid #999;
    cursor: pointer;
    line-height: 22px;
    white-space:nowrap;
    margin-right: 5px;
    &.ext-noAllow {
        background-color: #ddd;
        cursor: not-allowed;
    }
    &.ext-xiala {
        z-index: 99;
        span {
            padding: 0 14px 0 2px;
            background: url(../img/arrow-down.gif) no-repeat 50% 50%;
        }
        &:hover {
            .ws-orderbtn-list {
                display: block;
            }
        }
    }
}

.ws-orderfh {
    overflow: scroll;
}

.ws-orderbtn-list {
    display: none;
    position: absolute;
    top: 23px;
    left: 0;
    padding: 5px;
    width: 120px;
    background-color: #f0f0f0;
    border-radius: 2px;
}

.ws-orderbtn-item {
    height: 20px;
    padding: 3px;
    border-bottom: 1px solid #ccc;
    &:hover {
        background-color: #ddd;
        border-radius: 2px;
    }
}

.ws-order-serch {
    position: relative;
    float: right;
    margin-right: 250px;
    .ws-orderbtn {
        margin-right: 0;
    }
    .search-ico {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 16px;
        height: 16px;
        background: url(../img/icons.png) no-repeat 0 0;
        background-position: 0 -40px;
        cursor: pointer;
        &:hover {
            background-position: -20px -40px;
        }
    }
    .search-input {
        width: 200px;
        height: 22px;
        padding: 0 4px;
        float: left;
        border: 1px solid #999;
        border-radius: 0;
    }
}

.ws-order-controls, .ws-fh-controls {
    height: 25px;
    padding: 5px 0 3px 7px;
    background-color: #ccc;
}

.ws-ordersubmain {
    padding: 10px 15px;
}

.ws-ordersublist {
    background-color: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    padding: 5px;
    margin-bottom: 10px;
    .ws-txt {
        padding: 4px 0 4px 8px;
    }
    h3 {
        font-size: 14px;
        color: #222;
        height: 22px;
        line-height: 22px;
        padding: 1px 7px 2px;
    }
}

.ws-table {
    width: 100%;
    // border: 1px solid #999;
    margin-bottom: 10px;
    &.ext-ordersub > tbody > tr > td {
        vertical-align: top;
    }
    .color-org {
        color: #f90;
    }
    th {
        background-color: #f6f9fa;
        text-align: center;
    }
    tr {
        min-height: 26px;
        line-height: 26px;
    }
    td {
        height: 24px;
        padding: 3px 0;
        text-align: center;
        input{
            height: 18px;
            margin: 0 5px;
            width: auto;
            padding: 0;
        }
        select{
            margin-left: 5px;
        }
        .ico-del {
            display: block;
            margin: 0 auto;
            cursor: pointer;
            width: 16px;
            height: 16px;
            background: url(../img/addGoods/delecate.gif) 0 0 no-repeat;
        }
    }
}

.ws-table__h5 {
    border-bottom: 1px solid #c8c8c8;
    color: #305c89;
    margin: 0 0 5px;
    padding: 7px 0 5px 5px;
}

.ws-table__subth {
    color: #555;
    width: 125px;
    vertical-align: top;
}

.ws-ordersubhover {
    position: relative;
    color: #3367ac;
    cursor: pointer;
    white-space: nowrap;
    width: 60px;
    border: 1px solid #fff;
    z-index: 99;
    b {
        background: url(../img/arrow-down.gif) no-repeat scroll 50% 50%;
        display: inline-block;
        width: 10px;
        height: 10px;
    }
    &:hover {
        border-color: #000;
        color: #000;
        border-right: none;
        b {
            background: url(../img/arrow-right.gif) no-repeat scroll 50% 50%;
        }
        ul {
            display: block;
        }
        li {
            color: #3367ac;
        }
    }
    ul {
        display: none;
        position: absolute;
        right: -69px;
        top: -1px;
        border: 1px solid #000;
        width: 62px;
        padding: 0 3px;
        li {
            line-height: 20px;
            text-align: right;
            &:hover {
                background-color: #ddd;
            }
        }
    }
}
